﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using Core.Presenters;

namespace Core.Views
{
    public partial class CustomerChoice : Form
    {
        public CustomerChoice()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            var view = new PrivatePirsonView();
            this.Close();
            var presenter = new PrivatePersonPresenter(view);
        }

        private void button2_Click(object sender, EventArgs e)
        {
            var view = new JurahialPersonView();
            this.Close();
            new JuridicalPersonPresenter(view);
        }
    }
}
